package org.junit.extension;

import static org.junit.Assert.assertEquals;

import org.joda.time.DateTime;

public class CustomAssert {

	public static void assertDate(DateTime expectedDate, DateTime actualDate) {
		assertEquals( expectedDate.getDayOfMonth(), actualDate.getDayOfMonth() );
		assertEquals( expectedDate.getMonthOfYear(), actualDate.getMonthOfYear() );
		assertEquals( expectedDate.getYear(), actualDate.getYear() );
	}
	
}
